<div style="margin:100px auto;width:510px">
	<h1>用户注册</h1>
	<form action="<?php echo url::site('user/register');?>" method="post">
	<p><input type="text" name="username" title="昵称" value="<?php echo $form['username']; ?>" /><span class="error_message"><?php echo $form_errors['username']; ?></span></p>
	<p><input type="text" name="email" title="Email" value="<?php echo $form['email']; ?>" /><span class="error_message"><?php echo $form_errors['email']; ?></span></p>
	<p><input type="text" name="link" title="blog url" value="<?php echo $form['link']; ?>" /><span class="error_message"><?php echo $form_errors['link']; ?></span></p>
	<p><input type="password" name="password" title="******" /><span class="error_message"><?php echo $form_errors['password']; ?></span></p>
	<p><input type="password" name="password_confirm" title="******" /><span class="error_message"><?php echo $form_errors['password_confirm']; ?></span></p>
	<p><input class="submit" type="submit" value="注册" /></p>
	</form>
</div>

<style>
form p {padding:10px 0}
form p input {padding:5px;width:500px}
form p .submit {width:100px;padding:5px 7px}
.error_message {padding:0}
</style>
